package repository

import (
	"context"
	"github.com/starmotioncf/common/filter"
)

type SettingRepository interface {
	// Get 获取一个配置，屏蔽错误
	Get(ctx context.Context, key string, filterEntity filter.Entity) any
	// GetE 获取一个配置，不屏蔽错误
	GetE(ctx context.Context, key string, filterEntity filter.Entity) (any, error)
}
